export const getUrlSearch = (str) => {
    str = str.substring(1)
    const result = {}
    str.split('&').map(item => {
        const temp = item.split('=')
        result[temp[0]] = temp[1]
    })
    return result
}